<template>
  <div class='device'>
    <div style="height:30px"></div>
    <ul>
       <router-link tag='li' :to="{name:'DeviceInfo'}">
        <img src="../assets/img/config.png" alt="" class="fl">
        <img src="../assets/img/back.png" alt="">
        <div>设备名称一</div>
      </router-link>
    </ul>
  </div>
</template>
<script>
export default {};
</script>
<style lang="less" scoped>
.device {
  height: 100%;
  background-color: rgb(239, 238, 243);
  font-size: 0.18rem;
  color: rgb(51, 51, 51);
  ul {
    width: 100%;
    li {
      height: 0.7rem;
      line-height: 0.7rem;
      background-color: #fff;
      text-align: center;
      margin-bottom: 20px;
      img:first-child {
        width: 15%;
        margin: 14px 0 0 30px;
      }
      img:nth-of-type(2) {
        width: 5%;
        float: right;
        margin: 15px 30px 15px 0;
      }
      div {
        overflow: hidden;
        text-align: center;
      }
    }
  }
}
</style>


